package com.hhyx.execl.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author MarkerCCC
 * @date 2019/6/14 - 13:41
 * @email markerccc@163.com
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("datashow.statistics_system_message")
public class SystemMessage extends Model<SystemMessage> {

    @TableId
    private Long id;

    @TableField("create_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("update_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableField("del_flag")
    private Integer delFlag;

    @TableField("version")
    private String version;

    @TableField("file_name")
    private String fileName;

    @TableField("batch_number")
    private String batchNumber;

    @TableField("所属事业部")
    private String 所属事业部;

    @TableField("公司名称")
    private String 公司名称;

    @TableField("企业法人")
    private String 企业法人;

    @TableField("下辖ID归属人")
    private String 下辖ID归属人;

    @TableField("下辖ID")
    private String 下辖ID;

    @TableField("电话")
    private String 电话;

    @TableField("指定收款ID")
    private String 指定收款ID;

    // @TableField("对公账户")
    // private String 对公账户;

    @TableField("邮箱")
    private String 邮箱;

    @TableField("提交时间")
    private String 提交时间;

    @TableField("error")
    private String error;

    @TableField("开户行")
    private String 开户行;

    @TableField("户名")
    private String 户名;

    @TableField("开户账号")
    private String 开户账号;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
